package main.java.com.service;

import main.java.com.entity.Dish;
import main.java.com.entity.Setmeal;
import main.java.com.entity.SetmealDish;

import java.util.List;

public interface SetmealService {
    List<Setmeal> getAllSetmeal(int page, int pageSize, String setmealName, Integer status);
    int getSetmealCount(String setmealName, Integer status);
    void addSetmeal(Setmeal setmeal);
    void updateSetmealStatus(Long id, Integer status);
    int deleteSetmeal(Long id);
    int deleteSetmeal_dish(Long id);
    int batchDeleteDishes(List<Long> ids);
    int batchUpdateStatus(List<Long> ids, int status);

    void addSetmeal_dish(SetmealDish setmealDish);
    Long getSetmealIdByName(String name);
}
